package com.flyco.modules.stm.service.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.flyco.modules.stm.entity.StmStockCheckItem;
import com.flyco.modules.stm.mapper.StmStockCheckItemMapper;
import com.flyco.modules.stm.service.IStmStockCheckItemService;
import org.springframework.stereotype.Service;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @Description: 门店盘点单记录
 * @Author: flyco
 * @Date:   2020-12-16
 * @Version: V1.0
 */
@DS("store")
@Service
public class StmStockCheckItemServiceImpl extends ServiceImpl<StmStockCheckItemMapper, StmStockCheckItem> implements IStmStockCheckItemService {
	
	@Autowired
	private StmStockCheckItemMapper stmStockCheckItemMapper;
	
	@Override
	public List<StmStockCheckItem> selectByMainId(Long mainId) {
		return stmStockCheckItemMapper.selectByMainId(mainId);
	}
}
